KERNEL_VERSION = $(shell uname -r)

KERNEL_PATH = /lib/modules/$(KERNEL_VERSION)/build

obj-m += helloworld.o

default:
	make -C $(KERNEL_PATH) M=$(PWD) modules

clean:
	make -C $(KERNEL_PATH) M=$(PWD) clean